package com.core.website.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface RoleMapper {
    Set<String> queryRoleCodeByUserId(String userId);
    int saveUserRole(@Param("userId") String userId, @Param("list") List<String> roleId);
    int deleteByUserIds(@Param("ids") List<String> ids);
}
